package com.kang.gaklibrary.model;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.Date;

public class Transaction {
    private Long id;

    private String userId;

    private Long goodId;

    private Timestamp date;

    private Integer goodRole;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public Integer getGoodRole() {
        return goodRole;
    }

    public void setGoodRole(Integer goodRole) {
        this.goodRole = goodRole;
    }

}